#include "m.h"
#include "number.hh"
#include <catch2/catch_all.hpp>

using namespace uniq::integral_types;

TEST_CASE("abs", "[math][smoke]") {
    REQUIRE(uniq::math::abs(i8{-10L}));
    REQUIRE(uniq::math::abs(i16{-10L}));
    REQUIRE(uniq::math::abs(i32{-10L}));
    REQUIRE(uniq::math::abs(i64{-10LL}));
}
